<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/component/commonTagLib.jsp"%>

<!DOCTYPE html>
<html>
<head>
    <title><spring:message code="message.lable.drugqualityspecSeeStd"/></title>
    <%@ include file="/WEB-INF/component/commonCSS.jsp"%>
    <!--[if lt IE 9]>
        <script src="${ctx}/lib/js/html5shiv.min.js"></script>
        <script src="${ctx}/lib/js/respond.min.js"></script>
    <![endif]-->
</head>
<body class="skin-blue-light sidebar-mini fixed skin-blue-light-frame">
                            
    <section class="content-header">
        <h1>中标价格分析</h1>
        <ol class="breadcrumb">
            <li><a href="${ctx}/home.jsp"><i class="fa fa-home"></i><spring:message code="message.lable.first"/></a></li>
                <li><a href="#">统计与查询</a></li>
                <li><a href="#">价格指标化统计</a></li>
                <li><a href="#">中标价格分析</a></li>
        </ol>
    </section>
     <section class="content">
        <div class=" box box-success">
            <div class="box-body">
                <div id="mainchart" style="width:100%;height:500px;" />
            </div>
        </div>
    </section>
    
    
      <%@ include file="/WEB-INF/component/commonJS.jsp"%>
  <script type="text/javascript">
  var datalist =[
{"drugName":"复方甘草口服溶液","formName":"口服溶液剂","specName":"180ml","prodComp":"南京白敬宇制药有限责任公司","factor":"1","price":"5.17"},
{"drugName":"开塞露(含甘油)","formName":"溶液剂","specName":"10ml","prodComp":"广东恒健制药有限公司（原名：江门市恒健药业有限公司）","factor":"1","price":"0.35"},
{"drugName":"归脾丸","formName":"水蜜丸","specName":"60g","prodComp":"河南省宛西制药股份有限公司","factor":"1","price":"4.3125"},
{"drugName":"黄芪颗粒","formName":"颗粒剂(无糖型)","specName":"4g","prodComp":"四川百利药业有限责任公司","factor":"6","price":"11.55"},
{"drugName":"开塞露(含甘油)","formName":"溶液剂","specName":"20ml","prodComp":"遂成药业股份有限公司","factor":"1","price":"0.324"},
{"drugName":"明目地黄丸","formName":"浓缩丸","specName":"3g/8丸","prodComp":"上海华源制药安徽广生药业有限公司","factor":"200","price":"4.4"},
{"drugName":"马来酸依那普利胶囊","formName":"胶囊剂","specName":"5mg","prodComp":"浙江一新制药股份有限公司","factor":"factor","price":"10.9"},
{"drugName":"肝素钙注射液","formName":"注射液","specName":"1ml:1万IU","prodComp":"天津生物化学制药有限公司(原名：天津市生物化学制药厂)","factor":"1","price":"13.2599"},
{"drugName":"利巴韦林颗粒","formName":"颗粒剂","specName":"50mg","prodComp":"四川百利药业有限责任公司","factor":"36","price":"3.9924"},
{"drugName":"明目地黄丸","formName":"水蜜丸","specName":"60g","prodComp":"河南省宛西制药股份有限公司","factor":"1","price":"7.8"},
{"drugName":"妇科十味片","formName":"素片","specName":"0.3g","prodComp":"湖北午时药业股份有限公司","factor":"100","price":"3.22"},
{"drugName":"浓氯化钠注射液","formName":"注射液","specName":"10ml:1.0g(10%)","prodComp":"济南利民制药有限责任公司","factor":"1","price":"0.19"},
{"drugName":"胶体果胶铋胶囊","formName":"胶囊剂","specName":"50mg","prodComp":"广东彼迪药业有限公司","factor":"24","price":"4.5"},
{"drugName":"橘红颗粒","formName":"颗粒剂","specName":"11g","prodComp":"江西民康制药有限公司(原南昌康正德制药有限公司)","factor":"60","price":"28.38"},
{"drugName":"精蛋白锌胰岛素注射液","formName":"混悬针剂","specName":"10ml:400IU","prodComp":"江苏万邦生化医药股份有限公司","factor":"1","price":"14.2"},
{"drugName":"硫酸阿托品注射液","formName":"注射液","specName":"2ml:10mg","prodComp":"上海禾丰制药有限公司","factor":"1","price":"1.22"},
{"drugName":"复方甘草片","formName":"素片","specName":"复方","prodComp":"贵州汇正制药有限责任公司(原:贵州光正制药有限责任公司)","factor":"100","price":"5.38"},
{"drugName":"马来酸氯苯那敏片","formName":"素片","specName":"4mg","prodComp":"国药集团容生制药有限公司","factor":"1000","price":"4"},
{"drugName":"复方丹参片","formName":"素片","specName":"/","prodComp":"贵州飞云岭药业股份有限公司（原：贵州康尔佳制药有限公司）","factor":"60","price":"3.24"},
{"drugName":"硫酸镁注射液","formName":"注射液","specName":"10ml:1g","prodComp":"林州亚神制药厂","factor":"1","price":"0.19"},
{"drugName":"四环素片","formName":"糖衣片","specName":"0.25g(25万单位)","prodComp":"重庆迪康长江制药有限公司","factor":"100","price":"3.3"},
{"drugName":"藿香正气水","formName":"酊剂","specName":"10ml","prodComp":"湖北襄阳隆中药业集团有限公司","factor":"10","price":"3.3"},
{"drugName":"归脾丸","formName":"浓缩丸","specName":"3g/8丸","prodComp":"上海华源制药安徽广生药业有限公司","factor":"200","price":"4.2"},
{"drugName":"归脾丸","formName":"浓缩丸","specName":"3g/8丸","prodComp":"贵阳德昌祥药业有限公司","factor":"200","price":"5.6"},
{"drugName":"明目地黄丸","formName":"水蜜丸","specName":"6g","prodComp":"山西正元盛邦制药有限公司","factor":"10","price":"4.2"},
{"drugName":"螺内酯片","formName":"素片","specName":"20mg","prodComp":"浙江亚太药业股份有限公司","factor":"100","price":"6.5"},
{"drugName":"硫酸亚铁缓释片","formName":"缓释片","specName":"0.45g","prodComp":"广西梧州三箭制药有限公司","factor":"36","price":"34.2"},
{"drugName":"乳酶生片","formName":"素片","specName":"0.15g","prodComp":"桂林南药股份有限公司","factor":"100","price":"2.25"},
{"drugName":"维C银翘颗粒","formName":"颗粒剂","specName":"10g","prodComp":"南宁市维威制药有限公司","factor":"12","price":"4.7196"},
{"drugName":"头孢呋辛酯分散片","formName":"分散片","specName":"0.125g","prodComp":"山东淄博新达制药有限公司","factor":"12","price":"14.2896"},
{"drugName":"速效救心丸","formName":"滴丸","specName":"40mg","prodComp":"天津中新药业集团股份有限公司第六中药厂","factor":"150","price":"25.35"},
{"drugName":"维生素B1注射液","formName":"注射液","specName":"2ml:0.1g","prodComp":"华中药业股份有限公司(原：湖北华中药业有限公司）","factor":"1","price":"0.0787"},
{"drugName":"格列吡嗪片","formName":"素片","specName":"5mg","prodComp":"遂成药业股份有限公司","factor":"30","price":"2.19"},
{"drugName":"杞菊地黄丸","formName":"浓缩丸","specName":"3g/8丸","prodComp":"湖北襄阳隆中药业集团有限公司","factor":"200","price":"3.36"},
{"drugName":"枸橼酸喷托维林片","formName":"糖衣片","specName":"25mg","prodComp":"重庆迪康长江制药有限公司","factor":"1000","price":"13.3"},
{"drugName":"西咪替丁胶囊","formName":"胶囊剂","specName":"0.2g","prodComp":"重庆迪康长江制药有限公司","factor":"60","price":"2.988"},
{"drugName":"诺氟沙星胶囊","formName":"胶囊剂","specName":"0.1g","prodComp":"杭州民生药业有限公司（原：杭州民生药业集团有限公司)","factor":"24","price":"1.008"},
{"drugName":"马来酸噻吗洛尔滴眼液","formName":"滴眼剂","specName":"5ml:12.5mg(0.25%)","prodComp":"湖北潜江制药股份有限公司","factor":"1","price":"0.95"},
{"drugName":"诺氟沙星胶囊","formName":"胶囊剂","specName":"0.1g","prodComp":"贵州同济堂制药有限公司","factor":"12","price":"0.624"},
{"drugName":"葡萄糖酸钙注射液","formName":"注射液","specName":"10ml:1.0g","prodComp":"济南利民制药有限责任公司","factor":"1","price":"0.25"},
{"drugName":"盐酸左氧氟沙星胶囊","formName":"胶囊剂","specName":"0.25g","prodComp":"常州兰陵制药有限公司","factor":"12","price":"6.9"},
{"drugName":"葡萄糖注射液","formName":"注射液","specName":"20ml:5.0g(25%)","prodComp":"济南利民制药有限责任公司","factor":"1","price":"0.2825"},
{"drugName":"黄体酮注射液","formName":"注射液","specName":"1ml:20mg","prodComp":"浙江仙琚制药股份有限公司","factor":"1","price":"0.38"},
{"drugName":"逍遥丸","formName":"浓缩丸","specName":"3g/8丸","prodComp":"湖北御金丹药业有限公司","factor":"200","price":"3.28"}
];
  
  
  
  
        var option = {
            title: {
                text: '药品中标价格分布图', x: "center"
            },
            color: ["#1790cf"],
            tooltip: {
                trigger: 'axis',
                axisPointer: {
                    show: true,
                    type: 'cross',
                    lineStyle: {
                        type: 'dashed',
                        width: 1
                    }
                }
            },
            toolbox: {
                show: false
            },
            xAxis: [
                {
                    type: 'category',
                    show:false,
                    data: function () {
                    	var list =[];
                        $.each(datalist,function(i,obj){
                        	list.push([obj.drugName]);
                        })
                        return list;
                    }()
                }
            ],
            yAxis: [
                {
                    type: 'value'
                }
            ],
            animation: false,
            series: [
                {
                    name: 'series1',
                    type: 'scatter',
                    tooltip: {
                        trigger: 'item',
                        formatter: function (params) {
                        	var temp = datalist[params.value[2]]
                        	  return temp.drugName + 
                              ',剂型：'+temp.formName +
                              ',规格：'+temp.specName +
                              ',转换系数：'+ temp.factor + 
                              ',<br/>中标企业：'+temp.prodComp +
                              ',中标价格：'+ temp.price +'元';
                        },
                        axisPointer: {
                            show: true
                        }
                    },
                    symbolSize: function (value) {
                        return Math.round(40 / 10);
                    },
                    data: (function () {
                        var d = [];
                        for (var i = 0; i < datalist.length; i++) {
                            d.push([
                                datalist[i].drugName,
                                datalist[i].price,
                                i
                            ]);
                        }
                        return d;
                    })()
                }
            ]
        };


        var myChart = echarts.init(document.getElementById('mainchart'));
        myChart.setOption(option);
    </script>
</body>
</html>
         